Skip to content

Deprecate publishAllPublicationsToCentralPortal()#264

Merged
martinbonnin merged 1 commit into
mainfrom
deprecate-allPublications
Jun 30, 2026
Merged

Deprecate publishAllPublicationsToCentralPortal()#264
martinbonnin merged 1 commit into
mainfrom
deprecate-allPublications

Conversation

@martinbonnin

Copy link
Copy Markdown
Member

The same functionality can be acheived using the aggregation:

plugins {
  id("com.gradleup.nmcp") // for exposing all the publications
  id("com.gradleup.nmcp.aggregation") // for configuring the aggregation
}

nmcpAggregation {
  centralPortal {
    username.set("")
    password.get("")
    publishAllChecksums.set(true)
  }
}

dependencies {
  nmcpAggregation(project)
}

This makes for a clearer separation of concerns and will make the plugin maintainance easier moving forward.

@martinbonnin martinbonnin merged commit 1f34b28 into main Jun 30, 2026
1 check passed
@martinbonnin martinbonnin deleted the deprecate-allPublications branch June 30, 2026 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant